package com.example.market_management.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {

    @TableId(value = "user_id",type =IdType.AUTO)
    private Integer  userId;

    private  String  userName;

    private  Integer credit;

    private  String  userPassword;

    private String   headImage;

    private String  phoneNumber;

    private String  payCode;
}
